package com.cloud.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cloud.bean.Type;
import com.cloud.mapper.TypeMapper;
import com.cloud.service.TypeService;

@Service
public class TypeServiceImpl implements TypeService{
	
	@Autowired
	private TypeMapper typeMapper;

	@Override
	public List<Type> selectProductsOfType() {
		return typeMapper.selectProductsOfType();
	}

	@Override
	public List<Type> selectAll() {
		return typeMapper.selectAll();
	}

}
